package com.yunheone.control;

import com.yunheone.view.Teacher;

/**
 * Created by Administrator on 2017/8/9 0009.
 */
public class Teachercontrol implements inerface{
    private static Teachercontrol instance;

    private Teachercontrol(){}

    public static Teachercontrol getInstance(){

        if (instance==null){
            instance=new Teachercontrol ();
        }
        return instance;
    }

    public  void Rount(){
        int i= Teacher.teacherView ();
        switch (i){
            case 1:Studentcontrol.studentRount ();break;//跳转至学员管理页面
            case 2:Passwcontrol.changePassw ();break;//跳转至密码管理页面
            case 3:Logincontrol.rount ();break;//返回主页面,退出;
        }

    }



}
